package com.ssh.entity.vo;

import java.util.List;

public class CategoryVo {
	private int id;

    private String categoryname;

    private int type;
   
    private int parentid;

    private List<CategoryVo> children;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCategoryname() {
		return categoryname;
	}

	public void setCategoryname(String categoryname) {
		this.categoryname = categoryname;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getParentid() {
		return parentid;
	}

	public void setParentid(int parentid) {
		this.parentid = parentid;
	}

	public List<CategoryVo> getChildren() {
		return children;
	}

	public void setChildren(List<CategoryVo> children) {
		this.children = children;
	}

	public CategoryVo(int id, String categoryname, int type, int parentid, List<CategoryVo> children) {
		this.id = id;
		this.categoryname = categoryname;
		this.type = type;
		this.parentid = parentid;
		this.children = children;
	}

	public CategoryVo() {
		super();
	}

}
